package com.gh.shop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gh.common.utils.PageUtils;
import com.gh.shop.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author gh
 * @email 1124813753@qq.com
 * @date 2020-07-11 15:13:09
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 树形结构返回数据
     * @return 三级分类形式CategoryEntity
     */
    List<CategoryEntity> listWithTree();

    void removeCategoriesByIds(List<Long> asList);
}

